package com.wakey.rtcs.web.service;

import java.io.IOException;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.wakey.rtcs.web.model.Attach;
import com.wakey.rtcs.web.model.DocInfo;

public interface DocService {

	public List<DocInfo> queryAllDocInfo(DocInfo docInfo);

	public Attach uploadFile(HttpServletRequest request) throws IllegalStateException, IOException;

	public boolean deleteUploadFile(HttpServletRequest request, String fileName);

	public int saveDocInfo(DocInfo info);

	public int deleteDocInfo(String[] ids);

}
